#ifndef EDITARRAYFILEDLG_H
#define EDITARRAYFILEDLG_H

#include "scrollingdialog.h"
#include <wx/intl.h>

class EditArrayFileDlg : public wxScrollingDialog {
  public:
    EditArrayFileDlg( wxWindow* parent, wxArrayString& array, bool useRelativePaths = false, const wxString& basePath = _T( "" ) );
    virtual ~EditArrayFileDlg();
    EditArrayFileDlg& operator=( const EditArrayFileDlg& ) { return *this; }
    virtual void EndModal( int retCode );
  protected:
    void OnAdd( wxCommandEvent& event );
    void OnEdit( wxCommandEvent& event );
    void OnDelete( wxCommandEvent& event );
    void OnUpdateUI( wxUpdateUIEvent& event );
    wxArrayString& m_Array;
    bool m_UseRelativePaths;
    wxString m_BasePath;
  private:
    DECLARE_EVENT_TABLE()
};

#endif
